package com.suep.teacher_manage.model;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.*;

@EqualsAndHashCode(callSuper = true)
@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("Teacher")
public class Teacher extends Model<Teacher> {
    @TableId//表明主键
    private String id;
    private String name;
    private String institution;
    private String department;
    private String title;
    private String gender;
    private Integer age;
    private String telephone;
    private String email;
}
